package com.tinem.platform.module.pojo.vo.security.verification.code;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.NonNull;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;

/**
 * @author fzh
 * @version v1
 * @program: platform
 * @className VerificationReq
 * @description TODO
 * @site 
 * @company 
 * @create 2020-09-28 11:33
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class VerificationReq {

    /**
     * 发送账号 手机号&邮箱
     */
    String account;
    /**
     * 验证码codeId
     */
    @NonNull
    Long codeId;
    /**
     * 验证码
     */
    @NotEmpty
    String code;

}
